﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011B1 RID: 4529
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ShowNewSupplementVisitorScRsp : IMessage<ShowNewSupplementVisitorScRsp>, IMessage, IEquatable<ShowNewSupplementVisitorScRsp>, IDeepCloneable<ShowNewSupplementVisitorScRsp>, IBufferMessage
	{
		// Token: 0x17003952 RID: 14674
		// (get) Token: 0x0600CACC RID: 51916 RVA: 0x00222794 File Offset: 0x00220994
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ShowNewSupplementVisitorScRsp> Parser
		{
			get
			{
				return ShowNewSupplementVisitorScRsp._parser;
			}
		}

		// Token: 0x17003953 RID: 14675
		// (get) Token: 0x0600CACD RID: 51917 RVA: 0x0022279B File Offset: 0x0022099B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ShowNewSupplementVisitorScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003954 RID: 14676
		// (get) Token: 0x0600CACE RID: 51918 RVA: 0x002227AD File Offset: 0x002209AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ShowNewSupplementVisitorScRsp.Descriptor;
			}
		}

		// Token: 0x0600CACF RID: 51919 RVA: 0x002227B4 File Offset: 0x002209B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ShowNewSupplementVisitorScRsp()
		{
		}

		// Token: 0x0600CAD0 RID: 51920 RVA: 0x002227BC File Offset: 0x002209BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ShowNewSupplementVisitorScRsp(ShowNewSupplementVisitorScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CAD1 RID: 51921 RVA: 0x002227E1 File Offset: 0x002209E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ShowNewSupplementVisitorScRsp Clone()
		{
			return new ShowNewSupplementVisitorScRsp(this);
		}

		// Token: 0x17003955 RID: 14677
		// (get) Token: 0x0600CAD2 RID: 51922 RVA: 0x002227E9 File Offset: 0x002209E9
		// (set) Token: 0x0600CAD3 RID: 51923 RVA: 0x002227F1 File Offset: 0x002209F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600CAD4 RID: 51924 RVA: 0x002227FA File Offset: 0x002209FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ShowNewSupplementVisitorScRsp);
		}

		// Token: 0x0600CAD5 RID: 51925 RVA: 0x00222808 File Offset: 0x00220A08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ShowNewSupplementVisitorScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CAD6 RID: 51926 RVA: 0x00222838 File Offset: 0x00220A38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CAD7 RID: 51927 RVA: 0x00222877 File Offset: 0x00220A77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CAD8 RID: 51928 RVA: 0x0022287F File Offset: 0x00220A7F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CAD9 RID: 51929 RVA: 0x00222888 File Offset: 0x00220A88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CADA RID: 51930 RVA: 0x002228BC File Offset: 0x00220ABC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CADB RID: 51931 RVA: 0x002228FA File Offset: 0x00220AFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ShowNewSupplementVisitorScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CADC RID: 51932 RVA: 0x0022292B File Offset: 0x00220B2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CADD RID: 51933 RVA: 0x00222934 File Offset: 0x00220B34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005161 RID: 20833
		private static readonly MessageParser<ShowNewSupplementVisitorScRsp> _parser = new MessageParser<ShowNewSupplementVisitorScRsp>(() => new ShowNewSupplementVisitorScRsp());

		// Token: 0x04005162 RID: 20834
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005163 RID: 20835
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04005164 RID: 20836
		private uint retcode_;
	}
}
